package com.xposed.aliproxy.thread;

import android.content.Context;

import com.xposed.aliproxy.qrcode.GlobalInstance;
import com.xposed.aliproxy.socket.SocketManager;

/* renamed from: h.d */
public class SocketHeartBeatThread extends Thread {
    /* renamed from: a */
    public boolean f1792a = false;
    /* renamed from: b */
    public boolean f1793b = false;
    /* renamed from: c */
    private Context f1794c;
    /* renamed from: d */
    private SocketManager f1795d;

    public SocketHeartBeatThread(Context context) {
        this.f1794c = context;
        this.f1795d = SocketManager.m2947a(context);
    }

    public void run() {
        super.run();
        this.f1793b = true;
        while (!GlobalInstance.getInstance().f1764c && !this.f1792a) {
            try {
                Thread.sleep(6000);
                GlobalInstance.getInstance().stringArrayList.add("xintiao");
            } catch (Exception e) {
                e.printStackTrace();
            }
        }
    }
}
